package com.dfbz.demo;

import java.util.HashSet;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo05_HashSet去重原理_01 {
    public static void main(String[] args) {
        HashSet<String> set = new HashSet<>();

        //添加元素
        set.add("河北");
        set.add("河北");

        System.out.println(set.size());                 // ?
    }
}
